-- GENERATED SPELL FOR [Glimmer Bay Orca] --


function spell0_25204(pUnit, Event) --@Flipper Thwack,n/a--
pUnit:FullCastSpellOnTarget(50169,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25204', 581, 1)
end

function Sorts_25204(pUnit, Event)
local choix_sorts_25204 = math.random(0, 0)
if choix_sorts_25204 == 0 then
pUnit:RegisterEvent('spell0_25204', 1, 1)
end
end

function mob25204_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25204', math.random(1500, 3000), 1)
end

function mob25204_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25204_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25204_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25204, 1, 'mob25204_Action')
RegisterUnitEvent(25204, 2, 'mob25204_Leave')
RegisterUnitEvent(25204, 3, 'mob25204_Kill')
RegisterUnitEvent(25204, 4, 'mob25204_Die')
